import React from 'react';
import {Provider} from './context'
import Child from "./components/Child";

function App(props) {
    return (
        <div>
            App
            <Provider value={{userName:'zhangsan',age:18}}>
                <Child/>
            </Provider>
        </div>
    );
}

export default App;